#include <iostream>
#include <sigc++/sigc++.h>
#include <string>
using namespace std;
/*
g++ pass_arg_to_sigc.cpp -o pass_arg_to_sigc `pkg-config --cflags --libs sigc++-2.0`
*/
void inramanhinh(string test){
	cout << test << endl;
}
int main(){
	sigc::signal<void,string> signal_print;
	signal_print.connect(sigc::ptr_fun(&inramanhinh));
	signal_print.emit("tandaica0612");
	return 0;
}
